function cms_info_list(value, cellmeta, record, rowIndex, columnIndex, store, gridId) {
	var cm = getGridCm(gridId);
	var fieldName = cm.getDataIndex(columnIndex);
	if (fieldName == 'I_DATE' || fieldName == 'I_UDPATEDATE') {
		return formatTime(value);
	} else if (fieldName == 'I_STATUS') {
		if (value == 0) {
			return "未发布";
		} else if (value == 1) {
			return "已发布";
		}

		return value;
	} else if (fieldName == 'SP') {
		return '<a href="javascript:void(0);" onclick="javascript:editcmsinfo(\''
				+ record.data['PK_ID']
				+ '\', \''
				+ record.data['I_TITLE']
				+ '\');">编辑</a>&nbsp;<a href="javascript:void(0);" onclick="javascript:delcmsinfo(\''
				+ record.data['PK_ID'] + '\', \'' + record.data['I_TITLE']
				+ '\');">删除</a>' + '&nbsp;<a href="' + context
				+ record.data['I_URL'] + '" target="_blank">预览</a>'

	}

	return value;
}

function delcmsinfo(id, name) {
	deleteTable('cmsinfo', 'single', '-1', function(params) {
				params.PK_ID = id;
				return true;
			}, function() {
				reloadTQList('cms_info_list');
			}, 'cmsinfo')
}